package com.xiaoxi.userserver.mapper.user;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaoxi.domain.user.BMSUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName BMSUserMapper
 * @Description 与数据库打交道
 * @Author xiaoxi
 * @Date 2022/4/24 14:26
 * @Version 1.0
 */
@Mapper
public interface BMSUserMapper extends BaseMapper<BMSUser> {

    /**
     * 太烦了！！！ 和我的MyMetaObjectHandler有冲突了，不过还好这种是少数，因此直接SQL解决吧
     *
     * @param bmsUser
     */
    void changeUserPasswordById(@Param("bmsUser") BMSUser bmsUser);


}
